package mysql

import "gorm.io/gorm"

type Doctor struct {
	gorm.Model
	Name            string  `gorm:"type:varchar(20);not null;comment:医生姓名"`
	Image           string  `gorm:"type:varchar(300);not null;comment:上传图片"`
	Hospital        string  `gorm:"type:varchar(30);not null;comment:所属院区"`
	RegisterFee     float64 `gorm:"type:decimal(10,2);not null;comment:挂号费"`
	ConsultationFee float64 `gorm:"type:decimal(10,2);not null;comment:诊查费"`
	Profile         string  `gorm:"type:varchar(80);not null;comment:医生简介"`
}
